package com.nbjtjc.safe.bean;

import com.nbjtjc.safe.model.safe.RiskMarkItem;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


public class GreatRiskPointItemBean extends Page {


    @Column(name = "risk_point_id")
    private Integer riskPointId;

    /**
     * 步骤或单元
     */
    @Column(name = "step_or_unit")
    private String stepOrUnit;

    /**
     * 危险源


     */
    @Column(name = "dangerous_source")
    private String dangerousSource;

    /**
     * 潜在后果
     */
    @Column(name = "latent_consequences_name")
    private String latentConsequencesName;

    /**
     * 事故类型
     */
    @Column(name = "accident_name")
    private String accidentName;

    /**
     * 评估风险等级
     */
    @Column(name = "evaluation_direct_name")
    private String evaluationDirectName;

    /**
     * 评估风险等级的值
     */
    @Column(name = "evaluation_value")
    private String evaluationValue;

    /**
     * 评估方法lec ls
     */
    @Column(name = "evaluation_type")
    private String evaluationType;

    @Column(name = "evaluation_base")
    private String evaluationBase;

    /**
     * 监控层级
     */
    @Column(name = "control_level")
    private String controlLevel;

    /**
     * 诱导原因
     */
    @Column(name = "induced_cause")
    private String inducedCause;

    /**
     * 控制措施
     */
    @Column(name = "control_measures")
    private String controlMeasures;

    @Column(name = "measure_type")
    private Integer measureType;

    /**
     * 法律法规参考
     */
    @Column(name = "law_reference")
    private String lawReference;

    /**
     * 管理措施
     */
    @Column(name = "manage_measures")
    private String manageMeasures;

    /**
     * 教育培训措施
     */
    @Column(name = "train_measures")
    private String trainMeasures;

    /**
     * 应急处置措施
     */
    @Column(name = "emergency_measures")
    private String emergencyMeasures;

    /**
     * 个体防护
     */
    @Column(name = "personal_protection")
    private String personalProtection;
    /**
     * 工程技术
     */
    @Column(name = "engineering_technology")
    private String engineeringTechnology;

    /**
     * 现状分县评估方法
     */
    @Column(name = "evaluation_result_type")
    private String evaluationResultType;

    /**
     * 现状评估风险值
     */
    @Column(name = "evaluation_result_value")
    private String evaluationResultValue;

    /**
     * 现状风险名字
     */
    @Column(name = "evaluation_result_name")
    private String evaluationResultName;

    /**
     * 现状评估依据
     */
    @Column(name = "evaluation_result_base")
    private String evaluationResultBase;

    @Column(name = "item_order")
    private Integer itemOrder;

    @Column(name = "create_time")
    private Date createTime;

    private String remarks;

    @Column(name = "edit_time")
    private Date editTime;

    @Column(name = "create_user_id")
    private Integer createUserId;

    @Column(name = "edit_user_id")
    private Integer editUserId;

    @Transient
    private List<Integer> rowspanList=new ArrayList<>();

    @Transient
    private Boolean needUpdate=false;
    @Transient
    private Boolean delete=false;

    @Transient
    private String resultBaseStr;
    @Transient
    private List<RiskMarkItem> riskMarkItemList=new ArrayList<>();

    @Transient
    private String L;
    @Transient
    private String E;
    @Transient
    private String C;

    @Transient
    private String resultBackColor="#fffff";

    public String getResultBackColor() {
        return resultBackColor;
    }

    public void setResultBackColor(String resultBackColor) {
        this.resultBackColor = resultBackColor;
    }

    public String getE() {
        return E;
    }

    public void setE(String e) {
        E = e;
    }

    public String getC() {
        return C;
    }

    public void setC(String c) {
        C = c;
    }

    public String getL() {
        return L;
    }

    public void setL(String l) {
        L = l;
    }

    public Boolean getDelete() {
        return delete;
    }

    public void setDelete(Boolean delete) {
        this.delete = delete;
    }

    public String getResultBaseStr() {
        return resultBaseStr;
    }

    public void setResultBaseStr(String resultBaseStr) {
        this.resultBaseStr = resultBaseStr;
    }

    public List<RiskMarkItem> getRiskMarkItemList() {
        return riskMarkItemList;
    }

    public void setRiskMarkItemList(List<RiskMarkItem> riskMarkItemList) {
        this.riskMarkItemList = riskMarkItemList;
    }

    public Boolean getNeedUpdate() {
        return needUpdate;
    }

    public void setNeedUpdate(Boolean needUpdate) {
        this.needUpdate = needUpdate;
    }

    public String getPersonalProtection() {
        return personalProtection;
    }

    public void setPersonalProtection(String personalProtection) {
        this.personalProtection = personalProtection;
    }

    public String getEngineeringTechnology() {
        return engineeringTechnology;
    }

    public void setEngineeringTechnology(String engineeringTechnology) {
        this.engineeringTechnology = engineeringTechnology;
    }

    public List<Integer> getRowspanList() {
        return rowspanList;
    }

    public void setRowspanList(List<Integer> rowspanList) {
        this.rowspanList = rowspanList;
    }


    /**
     * @return risk_point_id
     */
    public Integer getRiskPointId() {
        return riskPointId;
    }

    /**
     * @param riskPointId
     */
    public void setRiskPointId(Integer riskPointId) {
        this.riskPointId = riskPointId;
    }

    /**
     * 获取步骤或单元
     *
     * @return step_or_unit - 步骤或单元
     */
    public String getStepOrUnit() {
        return stepOrUnit;
    }

    /**
     * 设置步骤或单元
     *
     * @param stepOrUnit 步骤或单元
     */
    public void setStepOrUnit(String stepOrUnit) {
        this.stepOrUnit = stepOrUnit;
    }

    /**
     * 获取危险源


     *
     * @return dangerous_source - 危险源


     */
    public String getDangerousSource() {
        return dangerousSource;
    }

    /**
     * 设置危险源


     *
     * @param dangerousSource 危险源


     */
    public void setDangerousSource(String dangerousSource) {
        this.dangerousSource = dangerousSource;
    }

    /**
     * 获取潜在后果
     *
     * @return latent_consequences_name - 潜在后果
     */
    public String getLatentConsequencesName() {
        return latentConsequencesName;
    }

    /**
     * 设置潜在后果
     *
     * @param latentConsequencesName 潜在后果
     */
    public void setLatentConsequencesName(String latentConsequencesName) {
        this.latentConsequencesName = latentConsequencesName;
    }

    /**
     * 获取事故类型
     *
     * @return accident_name - 事故类型
     */
    public String getAccidentName() {
        return accidentName;
    }

    /**
     * 设置事故类型
     *
     * @param accidentName 事故类型
     */
    public void setAccidentName(String accidentName) {
        this.accidentName = accidentName;
    }

    /**
     * 获取评估风险等级
     *
     * @return evaluation_direct_name - 评估风险等级
     */
    public String getEvaluationDirectName() {
        return evaluationDirectName;
    }

    /**
     * 设置评估风险等级
     *
     * @param evaluationDirectName 评估风险等级
     */
    public void setEvaluationDirectName(String evaluationDirectName) {
        this.evaluationDirectName = evaluationDirectName;
    }

    /**
     * 获取评估风险等级的值
     *
     * @return evaluation_value - 评估风险等级的值
     */
    public String getEvaluationValue() {
        return evaluationValue;
    }

    /**
     * 设置评估风险等级的值
     *
     * @param evaluationValue 评估风险等级的值
     */
    public void setEvaluationValue(String evaluationValue) {
        this.evaluationValue = evaluationValue;
    }

    /**
     * 获取评估方法lec ls
     *
     * @return evaluation_type - 评估方法lec ls
     */
    public String getEvaluationType() {
        return evaluationType;
    }

    /**
     * 设置评估方法lec ls
     *
     * @param evaluationType 评估方法lec ls
     */
    public void setEvaluationType(String evaluationType) {
        this.evaluationType = evaluationType;
    }

    /**
     * @return evaluation_base
     */
    public String getEvaluationBase() {
        return evaluationBase;
    }

    /**
     * @param evaluationBase
     */
    public void setEvaluationBase(String evaluationBase) {
        this.evaluationBase = evaluationBase;
    }

    /**
     * 获取监控层级
     *
     * @return control_level - 监控层级
     */
    public String getControlLevel() {
        return controlLevel;
    }

    /**
     * 设置监控层级
     *
     * @param controlLevel 监控层级
     */
    public void setControlLevel(String controlLevel) {
        this.controlLevel = controlLevel;
    }

    /**
     * 获取诱导原因
     *
     * @return induced_cause - 诱导原因
     */
    public String getInducedCause() {
        return inducedCause;
    }

    /**
     * 设置诱导原因
     *
     * @param inducedCause 诱导原因
     */
    public void setInducedCause(String inducedCause) {
        this.inducedCause = inducedCause;
    }

    /**
     * 获取控制措施
     *
     * @return control_measures - 控制措施
     */
    public String getControlMeasures() {
        return controlMeasures;
    }

    /**
     * 设置控制措施
     *
     * @param controlMeasures 控制措施
     */
    public void setControlMeasures(String controlMeasures) {
        this.controlMeasures = controlMeasures;
    }

    /**
     * @return measure_type
     */
    public Integer getMeasureType() {
        return measureType;
    }

    /**
     * @param measureType
     */
    public void setMeasureType(Integer measureType) {
        this.measureType = measureType;
    }

    /**
     * 获取法律法规参考
     *
     * @return law_reference - 法律法规参考
     */
    public String getLawReference() {
        return lawReference;
    }

    /**
     * 设置法律法规参考
     *
     * @param lawReference 法律法规参考
     */
    public void setLawReference(String lawReference) {
        this.lawReference = lawReference;
    }

    /**
     * 获取管理措施
     *
     * @return manage_measures - 管理措施
     */
    public String getManageMeasures() {
        return manageMeasures;
    }

    /**
     * 设置管理措施
     *
     * @param manageMeasures 管理措施
     */
    public void setManageMeasures(String manageMeasures) {
        this.manageMeasures = manageMeasures;
    }

    /**
     * 获取教育培训措施
     *
     * @return train_measures - 教育培训措施
     */
    public String getTrainMeasures() {
        return trainMeasures;
    }

    /**
     * 设置教育培训措施
     *
     * @param trainMeasures 教育培训措施
     */
    public void setTrainMeasures(String trainMeasures) {
        this.trainMeasures = trainMeasures;
    }

    /**
     * 获取应急处置措施
     *
     * @return emergency_measures - 应急处置措施
     */
    public String getEmergencyMeasures() {
        return emergencyMeasures;
    }

    /**
     * 设置应急处置措施
     *
     * @param emergencyMeasures 应急处置措施
     */
    public void setEmergencyMeasures(String emergencyMeasures) {
        this.emergencyMeasures = emergencyMeasures;
    }

    /**
     * 获取现状分县评估方法
     *
     * @return evaluation_result_type - 现状分县评估方法
     */
    public String getEvaluationResultType() {
        return evaluationResultType;
    }

    /**
     * 设置现状分县评估方法
     *
     * @param evaluationResultType 现状分县评估方法
     */
    public void setEvaluationResultType(String evaluationResultType) {
        this.evaluationResultType = evaluationResultType;
    }

    /**
     * 获取现状评估风险值
     *
     * @return evaluation_result_value - 现状评估风险值
     */
    public String getEvaluationResultValue() {
        return evaluationResultValue;
    }

    /**
     * 设置现状评估风险值
     *
     * @param evaluationResultValue 现状评估风险值
     */
    public void setEvaluationResultValue(String evaluationResultValue) {
        this.evaluationResultValue = evaluationResultValue;
    }

    /**
     * 获取现状风险名字
     *
     * @return evaluation_result_name - 现状风险名字
     */
    public String getEvaluationResultName() {
        return evaluationResultName;
    }

    /**
     * 设置现状风险名字
     *
     * @param evaluationResultName 现状风险名字
     */
    public void setEvaluationResultName(String evaluationResultName) {
        this.evaluationResultName = evaluationResultName;
    }

    /**
     * 获取现状评估依据
     *
     * @return evaluation_result_base - 现状评估依据
     */
    public String getEvaluationResultBase() {
        return evaluationResultBase;
    }

    /**
     * 设置现状评估依据
     *
     * @param evaluationResultBase 现状评估依据
     */
    public void setEvaluationResultBase(String evaluationResultBase) {
        this.evaluationResultBase = evaluationResultBase;
    }

    /**
     * @return item_order
     */
    public Integer getItemOrder() {
        return itemOrder;
    }

    /**
     * @param itemOrder
     */
    public void setItemOrder(Integer itemOrder) {
        this.itemOrder = itemOrder;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return remarks
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * @param remarks
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * @return edit_time
     */
    public Date getEditTime() {
        return editTime;
    }

    /**
     * @param editTime
     */
    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    /**
     * @return create_user_id
     */
    public Integer getCreateUserId() {
        return createUserId;
    }

    /**
     * @param createUserId
     */
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * @return edit_user_id
     */
    public Integer getEditUserId() {
        return editUserId;
    }

    /**
     * @param editUserId
     */
    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }
}